<template>
	<view class="container">
		<div>
			<diyfieldsview :ogid="id" gourl="no" submittxt="提交备注" posturl='ordergoods.custom'>
			</diyfieldsview>
		</div>
	</view>
</template>

<script>
	import diyfieldsview from "@/components/views/diyfields/diyfieldsview"
	export default {
		components: {
			diyfieldsview
		},
		computed: {},
		data() {
			return {
				ptype: 1,
				id: 0,
				pagestyleconfig: [],
				ptype: ""
			};
		},
		onLoad: function(e) {
			let _this = this;
			_this.id = e.id;
			_this.$request.post('config', {
				mo: 'pagestyle'
			}).then(res => {
				if (res.errno == 0) {
					_this.pagestyleconfig = res.data
				}
			});
			
		},
		onShow() {
			let _this = this;
		},
		methods: {
		},
		/**
		 * 页面相关事件处理函数--监听用户下拉动作
		 */
		onPullDownRefresh: function() {
			setTimeout(() => {
				uni.stopPullDownRefresh()
			}, 200);
		},
	};
</script>

<style lang="scss" scoped>
	.tui-list-cell {
		width: 100%;
		color: $uni-text-color;
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 24rpx 60rpx 24rpx 30rpx;
		box-sizing: border-box;
		font-size: 30rpx;
	}

	.tui-avatar {
		width: 130rpx;
		height: 130rpx;
		display: block;
	}

	.uni-list {
		width: 100%;
		padding-top: 15rpx;
		padding-bottom: 20rpx;
		padding-left: 20rpx;
		padding-right: 20rpx;
		box-sizing: border-box;
		display: flex;
		align-items: center;
		flex-wrap: wrap;
	}

	.radio__title {
		color: #888888;
	}

	.craditem {
		padding: 8rpx 24rpx;
		margin-right: 24rpx;
		margin-bottom: 16rpx;
		background: #FFFFFF;
		border-radius: 4rpx;
		border: 2rpx solid #999999;
		font-size: 30rpx;
		font-weight: 400;
		color: #333333;
		line-height: 48rpx;
		text-align: left;
	}

	.active {
		border: 2rpx solid var(--color);
		color: var(--color);
		position: relative;
	}
	
	.active::after {
		content: "";
		position: absolute;
		top: 0;
		right: 0;
		width: 0;
		height: 0;
		border-top: 42rpx solid var(--color);
		border-left: 42rpx solid transparent;
	}
	
	.active::before {
		width: 8rpx;
		height: 12rpx;
		border-color: #FFFFFF;
		border-style: solid;
		border-width: 0 1rpx 2rpx 0;
		content: "";
		position: absolute;
		right: 8rpx;
		top: 2rpx;
		z-index: 3;
		transform: rotate(45deg);
	}
	.ptypebut {
		width: 40%;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		padding-top: 15rpx;
		padding-bottom: 15rpx;
		margin-bottom: 10rpx;
	}

	.checkboxbox {
		padding: 20rpx;
	}

	.btn86 {
		height: 86rpx;
		line-height: 86rpx;
		border-radius: 98rpx;
		color: #fff;
	}

	.container {
		background-color: #fff;
		padding-bottom: 80rpx;

		.tui-page-title {
			width: 100%;
			font-size: 48rpx;
			font-weight: bold;
			color: $uni-text-color;
			line-height: 42rpx;
			padding: 110rpx 40rpx 40rpx 40rpx;
			box-sizing: border-box;
		}

		.tui-form {
			.tui-view-input {
				width: 100%;
				box-sizing: border-box;
				padding: 0 0rpx;

				.tui-cell-input {
					width: 100%;
					display: flex;
					align-items: center;
					padding-top: 48rpx;
					padding-bottom: $uni-spacing-col-base;

					input {
						flex: 1;
						padding-left: $uni-spacing-row-base;
					}

					.tui-icon-close {
						margin-left: auto;
					}

					.tui-btn-send {
						width: 156rpx;
						text-align: right;
						flex-shrink: 0;
						font-size: $uni-font-size-base;
						color: $uni-color-primary;
					}

					.tui-gray {
						color: $uni-text-color-placeholder;
					}

					.tui-textarea {
						width: 100%;
						height: 300rpx;
						font-size: 28rpx;
						padding: 20rpx 30rpx;
						box-sizing: border-box;
						background-color: #fff;
					}
				}
			}

			.tui-cell-text {
				width: 100%;
				padding: 40rpx $uni-spacing-row-lg;
				box-sizing: border-box;
				font-size: $uni-font-size-sm;
				color: $uni-text-color-grey;
				display: flex;
				align-items: center;

				.tui-color-primary {
					color: $uni-color-primary;
					padding-left: $uni-spacing-row-sm;
				}
			}

			.tui-btn-box {
				width: 100%;
				padding: 0 $uni-spacing-row-lg;
				box-sizing: border-box;
				margin-top: 20rpx;
			}
		}
	}
</style>